import api from "../index.js"

// 旧
// export const getDrugList = (data) => {
// 	return api.post('/api/reservation/PageSendDrug',data)
// }
// 新
export const getDrugList = (data) => {
	return api.post('/api/dispensing/page',data)
}
export const getDrugDatails = (data) => {
	return api.post('/api/dispensing/details',data)
}
export const SetDispensing = (data) => {
	return api.post('/api/dispensing/dispensing',data)
}
export const DeteleDispensing = (data) => {
	return api.delete('/api/dispensing/return',data)
}